package com.ruoyi.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 车辆信息对象 vinfo_car
 *
 * @author oy
 * @date 2022-12-16
 */
@Data
public class VinfoCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long carId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNo;

    /** 企业id */
    @Excel(name = "企业id")
    private Long compId;

    /**
     * 企业名称
     */
    @Excel(name = "企业名称")
    private String compName;

    /** 驾驶人id */
    @Excel(name = "驾驶人id")
    private Long driverId;

    /**
     * 驾驶人姓名
     */
    @Excel(name = "驾驶人姓名")
    private String driverName;

    /** 设备id */
    @Excel(name = "设备No")
    private Long deviceNo;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 限重 */
    @Excel(name = "限重")
    private Double limitweight;

    /** 初始重量 */
    @Excel(name = "初始重量")
    private Long iniweight;

    /** 照片 */
    @Excel(name = "照片")
    private String image;

    /** 行驶证号码 */
    @Excel(name = "行驶证号码")
    private String drivingLicenseNum;

    /** 行驶证照片 */
    @Excel(name = "行驶证照片")
    private String drivingLicenseImage;

    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 是否删除 */
    private String isdel;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private Double countWeight;

    /**
     * 线上carId
     */
    private String onlineId;

}
